#ifndef _AUDITSTATE_H_
#define _AUDITSTATE_H_

// audit state class, added by regret
class AuditState {
public:
	enum AUDIT_STATE { AUDIT_FAIL = 0, AUDIT_PARTPASS = 1, AUDIT_FULLPASS = 3, };

	void init();
	void exit();
	void reset();
	char get(unsigned int id);
	void set(unsigned int id, char val);

	AuditState();
	virtual ~AuditState();

private:
	char* state;
};

extern AuditState* auditState;

#endif
